<#if packageDao != "">
package ${packageDao};

</#if>
<#if (packageDao != packageEntity) && (insert || update || delete)>
import ${packageEntity}<#if packageEntity != "">.</#if>${nameEntity};

</#if>
public interface ${nameDao} {
	<#if insert>
	
	/** 插入 */
	public void insert${nameEntity}(${nameEntity} ${nameEntity?uncap_first});
	</#if>
	<#if update>
	
	/** 更新 */
	public void update${nameEntity}(${nameEntity} ${nameEntity?uncap_first});
	</#if>
	<#if delete && keyproperty??>
	
	/** 删除 */
	public void delete${nameEntity}(${keyproperty.javaType} ${keyproperty.property});
	</#if>
}